package com.mark.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {
	
	@RequestMapping("/say/{msg}")
	public String sayHello(String msg){
		System.out.println("Hello,"+msg);
		return "hello";
	}
}
